Skip to content

fix(file-extension): to file, npe#16863

Merged
alperozturk96 merged 1 commit intomasterfrom
fix/file-extension-to-file
Apr 17, 2026
Merged

fix(file-extension): to file, npe#16863
alperozturk96 merged 1 commit intomasterfrom
fix/file-extension-to-file

Conversation

@alperozturk96
Copy link
Copy Markdown
Collaborator

Issue

E Unexpected error for admin@10.0.2.2:55000 java.lang.NullPointerException: Parameter specified as non-null is null: method com.nextcloud.utils.extensions.FileExtensionsKt.toFile, parameter <this> at com.nextcloud.utils.extensions.FileExtensionsKt.toFile(Unknown Source:2) at com.owncloud.android.datamodel.FileDataStorageManager.removeLocalCopyIfNeeded(FileDataStorageManager.java:925) at com.owncloud.android.datamodel.FileDataStorageManager.removeFile(FileDataStorageManager.java:912) at com.owncloud.android.operations.RemoveFileOperation.run(RemoveFileOperation.kt:89) at com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:193) at com.owncloud.android.services.OperationsService$ServiceHandler.nextOperation(OperationsService.java:443) at com.owncloud.android.services.OperationsService$ServiceHandler.handleMessage(OperationsService.java:406) at android.os.Handler.dispatchMessage(Handler.java:110) at android.os.Looper.loopOnce(Looper.java:248) at android.os.Looper.loop(Looper.java:338) at android.os.HandlerThread.run(HandlerThread.java:85)

@alperozturk96
Copy link
Copy Markdown
Collaborator Author

/backport to stable-33.1.0

@github-actions
Copy link
Copy Markdown

APK file: https://github.com/nextcloud/android/actions/runs/24502500021/artifacts/6470300746
To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.
qrcode (please click on link to get QR code displayed)

Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
@alperozturk96 alperozturk96 force-pushed the fix/file-extension-to-file branch from 205e259 to f6616ec Compare April 17, 2026 06:42
@github-actions
Copy link
Copy Markdown

Codacy

SpotBugs

CategoryBaseNew
Bad practice3535
Correctness6969
Dodgy code226226
Experimental11
Internationalization77
Malicious code vulnerability22
Multithreaded correctness3434
Performance4242
Security1616
Total432432

@alperozturk96 alperozturk96 merged commit e3c8b64 into master Apr 17, 2026
15 of 19 checks passed
@alperozturk96 alperozturk96 deleted the fix/file-extension-to-file branch April 17, 2026 06:54
@github-actions
Copy link
Copy Markdown

APK file: https://github.com/nextcloud/android/actions/runs/24551717946/artifacts/6490257818
To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.
qrcode (please click on link to get QR code displayed)

@github-actions
Copy link
Copy Markdown

blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant